package com.example.plat.enity.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "用户登录信息")
public class UserInfoDto {
    @ApiModelProperty("用户ID")
    Long userId;

    @ApiModelProperty("用户名")
    String userName;

    @ApiModelProperty("昵称")
    String nickname;

    @ApiModelProperty("头像")
    String avatar;

    @ApiModelProperty("权限")
    String author;

    @ApiModelProperty("token")
    String token;

}
